var fs = require('fs')
fs.readFile('Dockerfile', 'utf8', function (err,data) {
  if (err) {
    return console.log(err);
  }
  var result = data.replace(/(.+)/,'FROM  registry.gs.youyuwo.com/nginx:1.13');
  fs.writeFile('Dockerfile', result, 'utf8', function (err) {
     if (err) return console.log(err);
  });
});